<%@ include file="/WEB-INF/jsp/taglib.jsp" %>

<jsp:useBean id="actionBean" scope="request" type="com.rupertjones.globalcron.server.web.InfoAuditLogAction" />

<s:layout-render name="/WEB-INF/jsp/layout.jsp" title="Global Cron" subtitle="Audit Log">
        <s:layout-component name="body">
        <h1>Audit Log</h1>
        <display:table name="actionBean.auditLogs" pagesize="25" id="auditLog" requestURI="InfoAuditLog.action" class="rounded-corner">
            <display:column title="When" property="createdAt"/>
            <display:column title="User" property="user"/>
            <display:column title="Type" property="type"/>
            <display:column title="Message">
                <span title="${auditLog.message}">${auditLog.limitedMessage}</span>
            </display:column>
        </display:table>
    </s:layout-component>
</s:layout-render>
